package GUI;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.ImageIcon;
import com.jgoodies.forms.factories.DefaultComponentFactory;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class EditRequest_GUI extends JPanel{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JButton btnDetermineStageManger;
	private JButton btnFrozenRequest;
	private JButton btnDetermineStageDuration;
	private JButton btnCancel;
	private JButton btnCloseStage;
	private JButton btnExtentionRequestManger;
	public EditRequest_GUI() {
		setLayout(null);
		
		btnDetermineStageManger = new JButton("Determine stage manger");
		btnDetermineStageManger.setBounds(41, 148, 164, 44);
		add(btnDetermineStageManger);
		
		JLabel lblNewLabel = new JLabel("New label");
		lblNewLabel.setIcon(new ImageIcon(EditRequest_GUI.class.getResource("/Picture/Actions-document-edit-icon.png")));
		lblNewLabel.setBounds(10, 0, 131, 124);
		add(lblNewLabel);
		
		JLabel lblNewJgoodiesTitle = DefaultComponentFactory.getInstance().createTitle("Edit request supervisor");
		lblNewJgoodiesTitle.setFont(new Font("David", Font.BOLD | Font.ITALIC, 17));
		lblNewJgoodiesTitle.setBounds(205, 11, 187, 44);
		add(lblNewJgoodiesTitle);
		
		btnCancel = new JButton("Cancel");
		btnCancel.setIcon(new ImageIcon(EditRequest_GUI.class.getResource("/Picture/Button-Close-icon.png")));
		btnCancel.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
			}
		});
		btnCancel.setBounds(41, 453, 141, 47);
		add(btnCancel);
		
		btnFrozenRequest = new JButton("Frozen request");
		btnFrozenRequest.setBounds(41, 216, 164, 44);
		add(btnFrozenRequest);
		
		btnExtentionRequestManger = new JButton("Extention request manger");
		btnExtentionRequestManger.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent e) {
			}
		});
		btnExtentionRequestManger.setBounds(311, 175, 168, 44);
		add(btnExtentionRequestManger);
		
		btnDetermineStageDuration = new JButton("Determine stage duration");
		btnDetermineStageDuration.setBounds(41, 286, 164, 44);
		add(btnDetermineStageDuration);
		
		btnCloseStage = new JButton("Close stage");
		btnCloseStage.setBounds(311, 254, 168, 44);
		add(btnCloseStage);
	}
	public JButton getBtnDetermineStageManger() {
		return btnDetermineStageManger;
	}
	public void setBtnDetermineStageManger(JButton btnDetermineStageManger) {
		this.btnDetermineStageManger = btnDetermineStageManger;
	}
	public JButton getBtnFrozenRequest() {
		return btnFrozenRequest;
	}
	public void setBtnFrozenRequest(JButton btnFrozenRequest) {
		this.btnFrozenRequest = btnFrozenRequest;
	}
	public JButton getBtnDetermineStageDuration() {
		return btnDetermineStageDuration;
	}
	public void setBtnDetermineStageDuration(JButton btnDetermineStageDuration) {
		this.btnDetermineStageDuration = btnDetermineStageDuration;
	}
	public JButton getBtnCancel() {
		return btnCancel;
	}
	public void setBtnCancel(JButton btnCancel) {
		this.btnCancel = btnCancel;
	}
	public JButton getBtnCloseStage() {
		return btnCloseStage;
	}
	public void setBtnCloseStage(JButton btnCloseStage) {
		this.btnCloseStage = btnCloseStage;
	}
	public JButton getBtnExtentionRequestManger() {
		return btnExtentionRequestManger;
	}
	public void setBtnExtentionRequestManger(JButton btnExtentionRequestManger) {
		this.btnExtentionRequestManger = btnExtentionRequestManger;
	}
}
